﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using mds.BaseFrameModel;
using mds.LoginSecurityService;

namespace mds.LoginSecurityService
{
  public  interface ILoginProvider
    {
        OperationResult<Guid> Login(string userName, string passWord, string otherCode, string inputOtherCode,EnumLoginType loginType);

        OperationResult<bool> Logout(Guid sessionId);

        OperationResult<Guid> ReSetSession(Guid sessionId);

        OperationResult<Boolean> IsLogin(Guid sessionId);
    }
}
